package com.bitao.system.service.exam;

import com.bitao.system.domain.exam.dto.ExamAddDTO;
import com.bitao.system.domain.exam.dto.ExamEditDTO;
import com.bitao.system.domain.exam.dto.ExamQueryDTO;
import com.bitao.system.domain.exam.dto.ExamQuestionAddDTO;
import com.bitao.system.domain.exam.vo.ExamDetailVO;
import com.bitao.system.domain.exam.vo.d.ExamVO;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2025-05-29  10:45
 */
public interface IExamService {
    List<ExamVO> list(ExamQueryDTO examQueryDTO);

    String add(ExamAddDTO examAddDTO);

    boolean questionAdd(ExamQuestionAddDTO examQuestionAddDTO);

    ExamDetailVO detail(Long examId);

    int edit(ExamEditDTO examEditDTO);

    int questionDelete(Long examId, Long questionId);

    int delete(Long examId);

    int publish(Long examId);

    int cancelPublish(Long examId);
}
